<?php

namespace app\webapi\vms\model;

use app\webapi\common\BaseModel;

/**
 * @文章内容模型
 */
class ArticleContentModel extends BaseModel
{
    //定义数据表名
    protected $table = 'jq_website_article_content';

    //定义前缀
    protected $suffix = '';

    /**
     * @desc 设置后缀名(用于垂直分表)
     * @param string $suffix
     * @return ArticleContentModel
     * @author zhaozhiwei
     * @time 2023/12/19-14:20
     */
    public function setSuffix(string $suffix)
    {
        $suffix = '';
        if (false) {
            $suffix = '_' . $suffix % 2;
            return parent::setSuffix($suffix);
        }
        return parent::setSuffix($suffix);
    }
}